package com.topteam.demo;

import org.apache.deltaspike.core.api.config.view.ViewConfig;
import org.apache.deltaspike.jsf.api.config.view.Folder;
import org.apache.deltaspike.jsf.api.config.view.View;

@View(basePath = "/")
public interface Pages extends ViewConfig {
	@View(name = "index")
	public static class Home implements Pages {
	}

	@Folder(name = "page")
	interface Page extends Pages {
		@View(name = "/Todo", navigation = View.NavigationMode.REDIRECT)
		class Todo implements ViewConfig {
		}
	}
}